/**
 * 
 */
package org.vidyakiran.app.server.domain.entity;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.ManyToOne;

/**
 * @author Harpreet
 *
 */
@Entity
public class UserAddress extends Address implements Serializable{

	private static final long serialVersionUID = -2606655288590968820L;
	
	@ManyToOne(fetch = FetchType.LAZY)
	private User user;

	/**
	 * @return the user
	 */
	public User getUser() {
		return user;
	}

	/**
	 * @param user the user to set
	 */
	public void setUser(User user) {
		this.user = user;
	}

}
